import Vue from "vue";
import VueRouter from "vue-router";
import route from "./route";

Vue.use(VueRouter);

// 创建路由实例
const router = new VueRouter({
  mode: "history",
  routes: route
});

// 导出路由实例
export default router;
